"""
文件名：urls.py
作者：教务系统开发团队
创建日期：2025-04-27
描述：用户认证模块的路由配置，定义API端点
"""
from django.urls import path
from .views import (
    ParentRegisterView,
    ParentAddStudentView,
    ParentRemoveStudentView,
    ParentStudentListView
)

urlpatterns = [
    # 家长注册
    path('register/', ParentRegisterView.as_view(), name='parent-register'),
    
    # 家长关联学生管理
    path('students/add/', ParentAddStudentView.as_view(), name='parent-add-student'),
    path('students/remove/', ParentRemoveStudentView.as_view(), name='parent-remove-student'),
    path('students/list/', ParentStudentListView.as_view(), name='parent-student-list'),
]